<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% if title %}
    <title>{{ title }} - HelloBlog</title>
    {% else %}
    <title>Hello</title>
    {% endif %}
</head>
<body>

<div>Hello: <a href="/index">Home</a></div>
<hr/>
{% with message = get_flashed_messages() %}
{% if message %}
<ul>
    {% for message in messages %}
    <li>{{ message }}</li>
    {% endfor %}
</ul>
{% endif %}
{% endwith %}
{% block content %}
{% endblock %}

</body>
</html>